.class public Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/LinearLayout;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/TextView;

.field private g:Lcom/waiqin365/lightcrm/linkman/a/a;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/RelativeLayout;

.field private j:Landroid/widget/ImageView;

.field private k:Landroid/widget/Button;

.field private l:Landroid/widget/Button;

.field private m:Lcom/waiqin365/compons/view/c;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->b(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->m:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)Lcom/waiqin365/lightcrm/linkman/a/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    return-object v0
.end method

.method private a()V
    .locals 2

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->e:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->f:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->f:Landroid/widget/TextView;

    const v1, 0x7f080505

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c08c2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->a:Landroid/widget/TextView;

    const v0, 0x7f0c08c3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->b:Landroid/widget/LinearLayout;

    const v0, 0x7f0c08c4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c08c5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0c08c6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->i:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c08c7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->h:Landroid/widget/TextView;

    const v0, 0x7f0c01c2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->j:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->j:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0702

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    const v0, 0x7f0c0704

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->l:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->l:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private b(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
    .locals 5

    const/4 v0, 0x0

    :try_start_0
    new-instance v1, Landroid/content/ContentValues;

    invoke-direct {v1}, Landroid/content/ContentValues;-><init>()V

    const-string/jumbo v2, "name"

    invoke-virtual {v1, v2, p1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    sget-object v3, Landroid/provider/Contacts$People;->CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v2, v3, v1}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    move-result-object v2

    const-string/jumbo v3, "phones"

    invoke-static {v2, v3}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v1}, Landroid/content/ContentValues;->clear()V

    const-string/jumbo v3, "type"

    const/4 v4, 0x2

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    const-string/jumbo v3, "number"

    invoke-virtual {v1, v3, p2}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v3

    invoke-virtual {v3, v2, v1}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    move-result-object v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "0"

    invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v2

    if-nez v2, :cond_0

    move-object v0, v1

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v1, v1, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    const v1, 0x7f080265

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->k:Landroid/widget/Button;

    const v1, 0x7f080312

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private c()V
    .locals 6

    const/16 v5, 0x8

    const/4 v1, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "linkman"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightcrm/linkman/a/a;

    iput-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    if-eqz v0, :cond_a

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_b

    const-string/jumbo v0, ""

    :goto_0
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->q:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string/jumbo v0, ""

    :goto_1
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x1

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v2, v2, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    if-eqz v2, :cond_d

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v2, v2, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->h:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v2, v2, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    move v0, v1

    :goto_2
    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v3, -0x3f600000    # -5.0f

    invoke-static {p0, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {v2, v3, v1, v1, v1}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->g:Ljava/lang/String;

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->g:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    new-instance v3, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    const-string/jumbo v0, "M"

    iget-object v4, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v4, v4, Lcom/waiqin365/lightcrm/linkman/a/a;->g:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    const v0, 0x7f080536

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_3
    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v0, 0x7f080755

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v3, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_0
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->h:Ljava/lang/String;

    if-eqz v3, :cond_1

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->h:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->h:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f080052

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_1
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->n:Ljava/lang/String;

    if-eqz v3, :cond_2

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->n:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_2

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->n:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const-string/jumbo v3, "QQ"

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_2
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->m:Ljava/lang/String;

    if-eqz v3, :cond_3

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->m:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->m:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f08088f

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_3
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->d:Ljava/lang/String;

    if-eqz v3, :cond_4

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->d:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_4

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->d:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f08026a

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_4
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->f:Ljava/lang/String;

    if-eqz v3, :cond_5

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->f:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_5

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->f:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f0805d1

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_5
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->i:Ljava/lang/String;

    if-eqz v3, :cond_6

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->i:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_6

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->i:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f0802a5

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_6
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->j:Ljava/lang/String;

    if-eqz v3, :cond_7

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->j:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_7

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->j:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f08017a

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_7
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->k:Ljava/lang/String;

    if-eqz v3, :cond_8

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->k:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_8

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->k:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    const v3, 0x7f08069a

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_8
    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->o:Ljava/lang/String;

    if-eqz v3, :cond_9

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->o:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_9

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewV;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewV;-><init>(Landroid/content/Context;)V

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->o:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setContent(Ljava/lang/String;)V

    const v3, 0x7f080269

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewV;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LabelViewV;->setBottomShort()V

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_9
    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v2, v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    if-eqz v2, :cond_a

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setBottomLineStatus(Z)V

    :cond_a
    return-void

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->c:Ljava/lang/String;

    goto/16 :goto_0

    :cond_c
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->q:Ljava/lang/String;

    goto/16 :goto_1

    :cond_d
    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v5}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_e
    const v0, 0x7f0802a6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_3

    :cond_f
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_4
.end method

.method static synthetic c(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->b()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private d()V
    .locals 8

    const v7, 0x7f0c0066

    const v6, 0x7f0c0064

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightcrm/linkman/h;

    invoke-direct {v5, p0, v3}, Lcom/waiqin365/lightcrm/linkman/h;-><init>(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;Ljava/lang/String;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    const v1, 0x7f08005f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    const v1, 0x7f080058

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(II)V

    const-string/jumbo v1, "#000000"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/compons/view/c;->a(II)V

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(I)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->m:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    invoke-static {p1}, Landroid/telephony/PhoneNumberUtils;->isGlobalPhoneNumber(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.SENDTO"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "smsto:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    const-string/jumbo v1, "sms_body"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->startActivity(Landroid/content/Intent;)V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p2, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    const/16 v0, 0x86

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->back()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x72
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->back()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMCustomerDetailsActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "tradeType"

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->r:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "cmId"

    iget-object v3, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v3, v3, Lcom/waiqin365/lightcrm/linkman/a/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "isEdit"

    invoke-virtual {v0, v2, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v2, "jsonhashmap"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0, v4}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->d()V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightcrm/linkman/i;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightcrm/linkman/i;-><init>(Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;)V

    new-array v1, v4, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightcrm/linkman/i;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    goto :goto_0

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f08026e

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->g:Lcom/waiqin365/lightcrm/linkman/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightcrm/linkman/a/a;->e:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c01c2 -> :sswitch_2
        0x7f0c0702 -> :sswitch_3
        0x7f0c0704 -> :sswitch_4
        0x7f0c08c3 -> :sswitch_1
        0x7f0c0c4f -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03019c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->c()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    invoke-direct {p0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;->b()V

    return-void
.end method
